<?php /* Smarty version 2.6.16, created on 2013-09-10 07:06:55
         compiled from ../templates/admin/paypal/editpaypal.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_start'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php echo '<script type="text/javascript" src="';  echo $this->_tpl_vars['siteroot'];  echo '/includes/js/admin/editpaypal.js"></script>'; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_end'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

 <div class="contain">
 
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['left_menu'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
      
      <div class="right_contain">
        
         <div class="heading_box">Edit Paypal Settings</div>
         <div class="whitebox">
         <span>
         	<a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=paypal" class="rF"><strong>Back</strong></a>
		</span>
         <!--Message Div Start-->
         <?php if ($this->_tpl_vars['msg']): ?>
         <div class="masg_div">
           <?php echo $this->_tpl_vars['msg']; ?>

         </div>
         <?php endif; ?>
         <!--Message Div End-->
         
         <div style="min-height:250px;">
          <!--Form Contain start-->
         <form name="frmpaypalDetails" id="frmpaypalDetails" action="" method="post" > 
           <div class="form_fieldbox">
             <dl>
              <dt>Mode:</dt>
              <dd>
              	<select name="mode">
                	<option value="0">Sandbox</option>
                    <option value="1" <?php if ($this->_tpl_vars['payPalArray']['mode'] == 1): ?> selected="selected" <?php endif; ?>>Live</option>
                </select>
              <div class="clear"></div>
             </dl>
             
             <dl>
              <dt>Paypal Merchan email:</dt>
              <dd>
              <input type="text" name="merchant_live" id="merchant_live" value="<?php echo $this->_tpl_vars['payPalArray']['merchant_live']; ?>
" class="input"  /></dd>
              <div class="clear"></div>
             </dl>
                          
             <dl>
              <dt>Sandbox Merchant email:</dt>
              <dd><input type="text" name="merchant_sandbox" id="merchant_sandbox" value="<?php echo $this->_tpl_vars['payPalArray']['merchant_sandbox']; ?>
" class="input"  /></dd>
              <div class="clear"></div>
             </dl>


			<dl>
              <dt>Paypal URL:</dt>
              <dd><input type="text" name="url_live" id="url_live" value="<?php echo $this->_tpl_vars['payPalArray']['url_live']; ?>
" class="input"  /></dd>
              <div class="clear"></div>
             </dl>
             
             
			<dl>
              <dt>Sandbox URL:</dt>
              <dd><input type="text" name="url_sandbox" id="url_sandbox" value="<?php echo $this->_tpl_vars['payPalArray']['url_sandbox']; ?>
" class="input"  /></dd>
              <div class="clear"></div>
             </dl>
			 
			 
             <dl>
              <dt>Enable:</dt>
              <dd>
              	<select name="published">
                	<option value="0">No</option>
                    <option value="1" <?php if ($this->_tpl_vars['payPalArray']['published'] == 1): ?> selected="selected" <?php endif; ?>>Yes</option>
                </select>
              <div class="clear"></div>
             </dl>
                          
             <dl>
              <dt>&nbsp;</dt>
              <dd>
              <input type="submit" value="Update" name="update" class="admin_btn" />&nbsp;<input type="button" value="Cancel" name="cancel" class="admin_btn" onclick="window.location='<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=paypal';"/>
              </dd>
              <div class="clear"></div>
             </dl>
            </div>
</form>
            
            <!--Form Contain end--> 
           
  
         </div>
         
         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['footer'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>